//
// Created by deng on 2022/12/25.
//

#ifndef MOTOR_S_BSP_TIM_H
#define MOTOR_S_BSP_TIM_H
#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"

/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

extern TIM_HandleTypeDef htim1;
extern TIM_HandleTypeDef htim2;
extern TIM_HandleTypeDef htim3;
extern TIM_HandleTypeDef htim4;

/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

void MX_TIM1_Init(void);
void MX_TIM2_Init(void);
void MX_TIM3_Init(void);
void MX_TIM4_Init(void);

void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);

/* USER CODE BEGIN Prototypes */
/********** HwElec **********/
/********** HwElec **********/
/********** HwElec **********/
void REIN_TIM_HwElec_Init(void);       //TIM初始�??(HwElec)

/********** MT6816Base **********/
/********** MT6816Base **********/
/********** MT6816Base **********/
void REIN_TIM_MT6816_ABZ_Init(void);		//TIM初始�??(MT6816_ABZ)
void REIN_TIM_MT6816_PWM_Init(void);		//TIM初始�??(MT6816_PWM)

/********** SIGNAL **********/
/********** SIGNAL **********/
/********** SIGNAL **********/
void REIN_TIM_SIGNAL_COUNT_Init(void);		//TIM初始�??(SIGNAL_COUNT)
void REIN_TIM_SIGNAL_COUNT_DeInit(void);	//TIM清理(SIGNAL_COUNT)
void REIN_TIM_SIGNAL_PWM_Init(void);			//TIM初始�??(SIGNAL_PWM)
void REIN_TIM_SIGNAL_PWM_DeInit(void);		//TIM清理(SIGNAL_PWM)

/* USER CODE END Prototypes */

#ifdef __cplusplus
}
#endif



#endif //MOTOR_S_BSP_TIM_H
